package com.bwie.exception;

import lombok.Data;

@Data
public class ActivityException extends RuntimeException {
    private Integer code;
    private String message;

    public ActivityException(String message) {
        this.message = message;
    }

    public ActivityException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
